<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>运行时配置</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ibase.installation.html">安装</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ibase.resources.html">资源类型</a></div>
 <div class="up"><a href="ibase.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ibase.configuration" class="section">
 <h2 class="title">运行时配置</h2>
 <p class="simpara">
这些函数的行为受 <var class="filename">php.ini</var> 中的设置影响。
</p>
 <p class="para">
 <table class="doctable table">
  <caption><strong>InterBase configuration options</strong></caption>
  
   <thead>
    <tr>
     <th>名字</th>
     <th>默认</th>
     <th>可修改范围</th>
     <th>更新日志</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.allow-persistent" class="link">ibase.allow_persistent</a></td>
     <td>&quot;1&quot;</td>
     <td>PHP_INI_SYSTEM</td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.max-persistent" class="link">ibase.max_persistent</a></td>
     <td>&quot;-1&quot;</td>
     <td>PHP_INI_SYSTEM</td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.max-links" class="link">ibase.max_links</a></td>
     <td>&quot;-1&quot;</td>
     <td>PHP_INI_SYSTEM</td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.default-db" class="link">ibase.default_db</a></td>
     <td>NULL</td>
     <td>PHP_INI_SYSTEM</td>
     <td>Available since PHP 5.0.0.</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.default-user" class="link">ibase.default_user</a></td>
     <td>NULL</td>
     <td>PHP_INI_ALL</td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.default-password" class="link">ibase.default_password</a></td>
     <td>NULL</td>
     <td>PHP_INI_ALL</td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.default-charset" class="link">ibase.default_charset</a></td>
     <td>NULL</td>
     <td>PHP_INI_ALL</td>
     <td>Available since PHP 5.0.0.</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.timestampformat" class="link">ibase.timestampformat</a></td>
     <td>&quot;%Y-%m-%d %H:%M:%S&quot;</td>
     <td>PHP_INI_ALL</td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.dateformat" class="link">ibase.dateformat</a></td>
     <td>&quot;%Y-%m-%d&quot;</td>
     <td>PHP_INI_ALL</td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="ibase.configuration.html#ini.ibase.timeformat" class="link">ibase.timeformat</a></td>
     <td>&quot;%H:%M:%S&quot;</td>
     <td>PHP_INI_ALL</td>
     <td class="empty">&nbsp;</td>
    </tr>

   </tbody>
  
 </table>

 有关 PHP_INI_* 样式的更多详情与定义，见 <a href="configuration.changes.modes.html" class="xref">配置可被设定范围</a>。
 </p>

 <p class="para">这是配置指令的简短说明。</p>

<p class="para">
 <dl>

   
   <dt id="ini.ibase.allow-persistent">
    <em><code class="parameter">ibase.allow_persistent</code></em>
    <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
   </dt>

   <dd>

    <p class="para">
     Whether to allow
     <a href="features.persistent-connections.html" class="link">persistent connections</a>
     to Firebird/InterBase.
    </p>
   </dd>

  
  
  
   <dt id="ini.ibase.max-persistent">
    <em><code class="parameter">ibase.max_persistent</code></em>
    <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
   </dt>

   <dd>

    <p class="para">
     The maximum number of persistent Firebird/InterBase connections per
     process. New connections created with ibase_pconnect() will be non-persistent
     if this number would be exceeded.
    </p>
   </dd>

  
  
  
   <dt id="ini.ibase.max-links">
    <em><code class="parameter">ibase.max_links</code></em>
    <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
   </dt>

   <dd>

    <p class="para">
     The maximum number of Firebird/InterBase connections per process, including
     persistent connections.
    </p>
   </dd>

  
   
   <dt id="ini.ibase.default-db">
    <em><code class="parameter">ibase.default_db</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </dt>

   <dd>

    <p class="para">
     The default database to connect to when ibase_[p]connect() is called
     without specifying a database name. If this value is set and SQL safe
     mode is enabled, no other connections than to this database will be allowed.
    </p>
   </dd>

  
  
   <dt id="ini.ibase.default-user">
    <em><code class="parameter">ibase.default_user</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </dt>

   <dd>

    <p class="para">
     The user name to use when connecting to a database
     if no user name is specified.
    </p>
   </dd>

  
  
  
   <dt id="ini.ibase.default-password">
    <em><code class="parameter">ibase.default_password</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </dt>

   <dd>

    <p class="para">
     The password to use when connecting to a database
     if no password is specified.
    </p>
   </dd>

  
  
   <dt id="ini.ibase.default-charset">
    <em><code class="parameter">ibase.default_charset</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </dt>

   <dd>

    <p class="para">
     The character set to use when connecting to a database
     if no character set is specified.
    </p>
   </dd>

  
  
  
  
  
   <dt id="ini.ibase.timestampformat">
    <em><code class="parameter">ibase.timestampformat</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </dt>

   <dd>

    <p class="para">
    </p>
   </dd>

  
  
   <dt id="ini.ibase.dateformat">
    <em><code class="parameter">ibase.dateformat</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </dt>

   <dd>

    <p class="para">
    </p>
   </dd>

  
  
   <dt id="ini.ibase.timeformat">
    <em><code class="parameter">ibase.timeformat</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </dt>

   <dd>

    <p class="para">
    These directives are used to set the date and time formats
    that are used when returning dates and times from a result set,
    or when binding arguments to date and time parameters. 
    </p>
   </dd>

  
 
 </dl>

 </p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ibase.installation.html">安装</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ibase.resources.html">资源类型</a></div>
 <div class="up"><a href="ibase.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
